package com.cmx.service;

import com.cmx.dao.TestBaseDao;
import com.cmx.model.Topic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by cmx on 2017/5/13.
 */
@Service
public class TestService {

    @Autowired
    private TestBaseDao testBaseDao;

    public Topic selectOne(Integer tid) {

        return testBaseDao.selectOne(tid);
    }
}
